package com.sikaryofficial.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sikaryofficial.backend.domain.dto.resp.music.MusicGenreVO;
import com.sikaryofficial.backend.domain.entity.MusicGenreRelation;

import java.util.List;

/**
 * 音乐分类关系Service接口
 *
 * @author qinjinyuan
 * @date 2024-08-07
 */
public interface IMusicGenreRelationService extends IService<MusicGenreRelation> {

    /**
     * 批量保存 音乐分类关系
     *
     * @param musicGenreList
     * @param musicId
     * @return
     */
    boolean batchSaveGenreRelation(List<MusicGenreVO> musicGenreList, Long musicId);

}
